﻿// -----------------------------------------------------------------------
// <copyright file="InvalidImageHeaderException.cs">
// Copyright (c) 2013 Andrey Veselov. All rights reserved.
// License:  Microsoft Public License (MS-PL)
// Contacts: http://andrey.moveax.com  andrey@moveax.com
// </copyright>
// -----------------------------------------------------------------------

namespace PortableImagingLibrary.Exceptions
{
    public class InvalidImageHeaderException : ImageException
    {
        /// <summary> Initializes a new instance of the <see cref="InvalidImageHeaderException"/> class. </summary>
        public InvalidImageHeaderException()
            : base("Invalid image header data.")
        {
        }
        /// <summary> Initializes a new instance of the <see cref="InvalidImageHeaderException"/> class. </summary>
        /// <param name="message">The message that describes the error.</param>
        public InvalidImageHeaderException(string message)
            : base(message)
        {
        }
    }
}
